package bean;

import java.sql.Timestamp;

public class Message {

	private int id;
	private User user;
	private User leaver;
	private String message;
	private Timestamp time;
	public int getId() {
		return id;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getLeaver() {
		return leaver;
	}

	public void setLeaver(User leaver) {
		this.leaver = leaver;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	
	
	
}
